<?php

namespace App\Models\Admin;

use Illuminate\Database\Eloquent\Model;

/**
 * Class User
 */
class Users extends Model
{


    protected $primaryKey = 'id';

    protected $table = 'users';

    public $timestamps = true;

    protected $fillable = [
        'name',
        'email',
        'password',
        'remember_token',
        'sysid',
        'telphone'
    ];

    protected $guarded = [];

    public function fromDateTime($value){
        return strtotime(parent::fromDateTime($value));
    }

}